//
//  HOBaseBigImageView.m
//  Huahai
//
//  Created by hh on 14-3-25.
//
//

#import "HOBaseBigImageView.h"
CGFloat kHeaderWidth = 45;
CGFloat kHeaderHeight = 45;
CGFloat kGapOfHorizonal = 10;
CGFloat kGapOfVertical = 10;
@implementation HOBaseBigImageView
@synthesize sizeUpdateDelegate;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

- (id)initWithDelegate:(id<HOBigImageSizeUpdateDelegate>)delegate
{
    self = [super init];
    if (self) {
        // Initialization code
        sizeUpdateDelegate = delegate;
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

- (void)refreshUI
{
}
- (void)removeAllSubviews
{
    NSArray *views = [NSArray arrayWithArray:self.subviews];
    for(UIView *view in views)
    {
        [view removeFromSuperview];
    }
}

- (void)sizeDidChange:(UIView *)blogView
{
    
}
@end
